image_version=`date +%Y%m%d%H%M`;
echo $image_version;

git pull --rebase origin master;
docker stop vehicle-manager-backend;
docker rm vehicle-manager-backend;
docker build -t vehicle-manager-backend:$image_version .;
docker images;
docker run -p 8900:80 -d --name vehicle-manager-backend vehicle-manager-backend:$image_version;

docker logs vehicle-manager-backend;

docker rmi $(docker images -f "dangling=true" -q)